package com.creational.abstractfactory;

import com.creational.abstractfactory.elements.TV;



public class EnsamblajeTV {
   
    private TV tv;
    
    public EnsamblajeTV(AbstractFactory factory) {
        tv = factory.createTV();
        tv.setColor(factory.createColor());
    }

    public TV getTv() {
        return tv;
    }
    
    
}
